 <template>
    <div class="centFooter-wrapper">
        <div class="img-wrap">
            <img class="ad-img" src="@/assets/images/center_02.png">
        </div>

        <div class="info-wrap">
            <div class="info_box">
                <div>
                    <p>
                        <i class="icon iconfont icon-dianhua icon-01"></i>
                        <span class="title-01">客服电话：</span>
                        <span class="title-01">022-58107619</span>
                    </p>

                    <p>
                        <i class="icon iconfont icon-chakantiezishijian icon-02"></i>
                        <span class="title-01">工作时间：</span>
                        <span class="title-01">9:00-18:00</span>
                    </p>
                </div>
            </div>

            <p class="cmm-themeBar">客服在线时间：9:00-18:00</p>
        </div>

        <div class="privacy-wrap">
            <ul>
                <li>
                    <router-link :to="{ name: 'center'}">
                        <span>个人中心</span>
                    </router-link>
                </li>

                <li>
                    <router-link :to="{ name: 'aboutus', query: {id: 340} }">
                        <span>关于我们</span>
                    </router-link>
                </li>

                <li>
                    <router-link :to="{ path: '/aboutus/page', query: {id: 343}}">
                        <span>平台协议</span>
                    </router-link>
                </li>

                <li>
                    <router-link :to="{ path: '/aboutus/page', query: {id: 346}}">
                        <span>用户须知</span>
                    </router-link>
                </li>
            </ul>
        </div>
    </div>
</template>

 <script type="text/ecmascript-6">
export default {
  name: "centerFooter",
  data() {
    return {};
  },
  components: {}
};
</script>

 <style scoped lang="scss">
.centFooter-wrapper {
  margin-top: 0.22rem;

  .img-wrap {
    width: 100%;
    height: 3.05rem;
    overflow: hidden;
    position: relative;
    border-radius: 0rem;

    .ad-img {
      // @extend .cmm-translateXY;
      height: 100%;
    }
  }

  .info-wrap {
    padding-top: 0.2rem;
    padding-bottom: 0.3rem;
    width: 100%;
    text-align: center;
    background-color: $c-gray-dark;

    .info_box {
      display: flex;
      justify-content: center;
    }
    p {
      width: 100%;

      $letHeight: 0.5rem;
      color: $c-mainC;
      text-align: left;
      line-height: 0.5rem;
      * {
        line-height: $letHeight;
        display: inline-block;
        vertical-align: middle;
      }

      i {
        margin-right: 0.12rem;
        width: 0.5rem;
        text-align: center;

        &.icon-01 {
          font-size: 0.58rem;
          margin-left: -0.02rem;
        }

        &.icon-02 {
          font-size: 0.4rem;
        }
      }

      span {
        font-size: 0.3rem;
      }
    }

    .cmm-themeBar {
      width: 6.26rem;
      border-radius: 0.8rem;
      background-color: $c-themeBg;
      font-size: 0.36rem;
      font-weight: normal;
      color: $c-white-light;
      $letHeight: 0.8rem;
      height: $letHeight;
      line-height: $letHeight;
      text-align: center;
      margin: 0.3rem auto 0;
      display: inline-block;
      padding-left: 0rem;
    }
  }

  .privacy-wrap {
    width: 100%;
    ul {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: center;
      margin: 0.36rem auto;

      li {
        margin-right: 0.24rem;

        &:last-child {
          margin-right: 0rem;
        }

        span {
          font-size: 0.26rem;
          color: $c-mainC;
        }
      }
    }
  }
}
</style>
